package DomainLayer;

import Annotations.EntityNameAnnotation;
import Annotations.AttributeNameAnnotation;

@EntityNameAnnotation(Name="User")
public class UserEntity extends AbstractEntity
{
	@AttributeNameAnnotation(Name = "UserState", isAggregator = true) 
	private UserStateValueObject userState;
	@AttributeNameAnnotation(Name = "UserInfo", isAggregator = true)
	private UserInfoValueObject userInfo;
	
	public UserStateValueObject getUserState() {
		return userState;
	}

	public void setUserState(UserStateValueObject userState) {
		this.userState = userState;
	}
	
	public UserInfoValueObject getUserInfo() {
		return userInfo;
	}
	
	public void setUserInfo(UserInfoValueObject userInfo) {
		this.userInfo = userInfo;
	}
}
